package student;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {

	private String sex, name, school;
	private Date birth;

	public Student() {
		super();
	}

	public Student(String sex, String name, String school, Date birth) {
		super();
		this.sex = sex;
		this.name = name;
		this.school = school;
		this.birth = birth;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	@Override
	public String toString() {
		return "Student [sex=" + sex + ", name=" + name + ", school=" + school
				+ ", birth=" + birth + "]";
	}

}